package org.example.common;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface RoutingCacheMapper {
    List<String> getTargetTblByShardColAndValue(@Param("shardCol") String shardCol,
                                                @Param("shardVal") String shardVal);
    List<RoutingCache> getAll();
    int insert(RoutingCache routingCache);
}
